package com.lin.missyou.dto;

import com.lin.missyou.dto.validators.PasswordEqual;
import lombok.*;

@Builder
@Getter
@PasswordEqual(min = 1,message = "两次密码不一致")
public class PersonDTO {
    private String name;
    private Integer age;

    private String password1;
    private String password2;
}
